package com.fly.service.Impl;

import com.fly.bean.DamageRecord;
import com.fly.mapper.FixRecordStatisticsMapper;
import com.fly.service.FixRecordStatisticsService;
import com.fly.util.Page;
import com.fly.vo.TaskPageFind_WH;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FixRecordStatisticsServiceImpl implements FixRecordStatisticsService {

    @Resource
    private FixRecordStatisticsMapper fixRecordStatisticsMapper;


    @Override
    public List<DamageRecord> selectFixRecord(Page page) {
        return fixRecordStatisticsMapper.selectFixRecord(page);
    }

    @Override
    public List<DamageRecord> selectFixRecordByFind(TaskPageFind_WH taskPageFind_wh) {
        return fixRecordStatisticsMapper.selectFixRecordByFind(taskPageFind_wh);
    }

    @Override
    public int selectFixRecordCount() {
        return fixRecordStatisticsMapper.selectFixRecordCount();
    }

    @Override
    public int selectFixRecordCountByFind(TaskPageFind_WH taskPageFind_wh) {
        return fixRecordStatisticsMapper.selectFixRecordCountByFind(taskPageFind_wh);
    }
}
